package org.example.ims.Utils;

import lombok.Data;

@Data
public class Detail<T> {
    //T 表示Product或WarehouseProduct，在入库和出库时传递给WP执行
    private T item;
    private Integer quantity ;

    public Detail(T item, Integer quantity) {
        this.item = item;
        this.quantity = quantity;
    }
}
